package com.spc.demo.business;

public abstract class Component {
    public void add(Component component) throws Exception {
        throw new Exception("add fail.");
    }

    public void remove(Component component) throws Exception {
        throw new Exception("remove fail.");
    }

    public abstract void print();
}
